layui.config({
  base: "../../js/"
}).use(['jquery'], function() {

  let $ = layui.jquery;
  if (commonService.localStorage('userInfo')) {
    $('.userBox').removeClass('layui-hide').siblings().addClass('layui-hide')
  }

  $('.login_out').on('click',function(){
    commonService.removeStorage('userInfo')
    window.location.reload()
  })
})
